home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / cfuncs.zip / FRAME.DOC < prev    next >
Text File  |  1991-02-15  |  1KB  |  26 lines

  1. /*-----------------------Frame-----------------------------------*/
  2. /*DESCRIPTION:  Displays a frame of specified colors, dimensions */
  3. /*    and text on the console                     */
  4. /*                                 */
  5. /*INPUT: type FrameDataType defined in funcs.h             */
  6. /*   .X  x coordinate of upper left corner of frame         */
  7. /*   .Y  y coordinate of upper left corner of frame         */
  8. /*   .L  length of frame                     */
  9. /*   .W  width of frame                         */
  10. /*   .F  foreground color                     */
  11. /*   .B  background color                     */
  12. /*   .BorderType   0 = ══ border                      */
  13. /*              1 = ── border                      */
  14. /*              2 = ═ top, │ sides                      */
  15. /*              3 = ─ top, ║ sides                      */
  16. /*              4 = plain border                      */
  17. /*   .txt[X] pointer to char.  X range 0-24             */
  18. /*   .clear - 0 clear .txt after displaying             */
  19. /*            1 leave .txt unchanged                 */
  20. /*          2 initialize .txt array (no display)         */
  21. /*          0 or 1 + 10 -- don't disp a shadow around the frame*/
  22. /*USES: strspc                             */
  23. /*---------------------------------------------------------------*/
  24.  
  25. Frame ( FrameDataType *Framedat )
  26.